package com.atguigu.realtime.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class UserAnswerNumbean {
    String stt;
    String edt;
    String questionId;
    String userId;
    String isCorrect;
    @TransientSink
    List<String> answerCorrectCtList;
    //正确答题次数
    long answerCorrectCt;
    @TransientSink
    List<String> answerNumCtList;
    //答题次数
    long answerNumCt;
    //正确率
    double accuracy;

    //正确答题独立用户数
    @TransientSink
    Set<String> answerCorrectUvSet;
    long answerCorrectUv;
    //答题独立用户数
    @TransientSink
    Set<String> answerUvSet;
    long answerUv;
    //正确答题用户占比
    double answerCorrectUserPercentage;
    long ts;


}